package com.lyfei.yd.system.domain.dto;

import com.lyfei.yd.system.domain.entity.SpuAttribute;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;

@Data
public class SpuDTO {
    @NotBlank
    private String title;

    private String subTitle;

    private String img;

    private Long categoryId;

    private Boolean online;

    private Long sketchSpecId;

    private BigDecimal price;

    private BigDecimal discountPrice;

    private String description;

    private String tags;

    private List<Long> specKeyIdList;

    private String spuImgList;

    private String detailText;

    private List<SpuAttribute> attributes;
}
